package cn.java86.dao;

import cn.java86.entity.Student;

import java.util.List;

public interface StudentDao {
    public int add(Student s);
    public int update(Student s);
    public int del(long stuno);

    /**
     * 根据学号获得单个学生
     * @param stuno
     * @return
     */
    public Student get(long stuno);
    //模糊查找
    public List<Student> search(String sname, String qq);
}
